const express = require("express");
const router = express.Router();
const expressJoi = require("@escook/express-joi");
const article = require("./article/article");
const { add_article_schema } = require("../schema/article");
router.post("/add", expressJoi(add_article_schema), article.addArticle);

module.exports = router;
